package com.mrx.java8.lambda;

/**
 * @author XH.M
 * @description
 * @create 2018-11-27 17:19
 */
public class FilterEmployeeBySalary implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee employee) {
        return employee.getSalary() >= 5000 ;
    }
}
